//获取应用实例
var app = getApp();
var amapFile = require('../../libs/amap-wx.130');//如：..­/..­/libs/amap-wx.js

Page({
    data: {
        second: 13,
        home: 0
    },

    goHome: function () {
        this.setData({
            home: 1
        });
        tt.switchTab({
            url: `../../pages/homeIndex/homeIndex`
        });
    },

    onLoad: function (options) {
        // let timer = setTimeout(() => {
        //     clearTimeout(timer)
        //     this.direct()
        // }, 6000)
    },
    direct: function () {
        tt.reLaunch({
            url: `../../pages/homeIndex/homeIndex`,
        });
    },



});